<div class="instrucoesConteudo floatLeft">
	<h3>Administradores</h3>
	<p>
		É necessário o preencimento de todos os campos para que seja cadastrado o administrador corretamente.
	</p>
</div>
<div class="bgCinzaMedio widthFull floatLeft marginBottom20 labelLaranja">
	<form action="CrudAdministradores.php?a=post" class="formulario floatLeft displayBlock" method="post">
		<fieldset>
			<div class="mensErroForms widthFull">{$MENS_ERRO_NOME}</div>
			<div class="widthFull floatLeft heigth30">
				<label>Nome:</label>
				<input type="text" name="nome_admin" id="nome_admin" class="inputText410" maxlength="200" value="{$nome_admin}"/>
			</div>
			<div class="mensErroForms widthFull">{$MENS_ERRO_EMAIL}</div>
			<div class="widthFull floatLeft heigth30 marginTop10">
				<label>Email:</label>
				<input type="text" name="email_admin" id="email_admin" class="inputText150" maxlength="100" value="{$email_admin}"/>
			</div>
			<div class="mensErroForms widthFull">{$MENS_ERRO_SENHA}</div>
			
			{if $id_admin != ''}
				<div class="floatLeft heigth30 marginTop10">
					<label>Senha atual:</label>
					<input type="password" name="senha_atual" id="senha_atual" class="inputText150" maxlength="12"/>
				</div>
				<div class="floatLeft heigth30 marginTop10">
					<label>Nova senha:</label>
					<input type="password" name="senha_admin" id="senha_admin" class="inputText150" maxlength="12"/>
				</div>
			{else}
				<div class="floatLeft heigth30 marginTop10">
					<label>Senha:</label>
					<input type="password" name="senha_admin" id="senha_admin" class="inputText150" maxlength="12"/>
				</div>
			{/if}
			<div class="floatLeft heigth30 marginTop10">
				<label>Confirma Senha:</label>
				<input type="password" name="confsenha_admin" id="confsenha_admin" class="inputText150" maxlength="12"/>
			</div>
			<div class="widthFull floatLeft heigth30 marginTop10">
				<input type="button" value="Voltar" class="marginLeft200"  onClick="confirmaPara('CrudAdministradores.php', 'Deseja realmente sair do formulário?')">
				<input type="submit" value="Salvar" class="marginLeft10">
			</div>
		</fieldset>
		<input type="hidden" name="id_admin" value="{$id_admin}" />
	</form>
</div>